<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">服务内容:</label>
        <div class="col-xs-12 col-sm-10">
            <select id="c-service" class="form-control selectpicker" data-live-search="true" multiple=""
                    name="row[service_ids][]">
                {foreach name="service" item="vo"}
                <option value="{$vo.id}">{$vo.service_name}</option>
                {/foreach}
            </select>
            <div id="select-privew"></div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">服务说明:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea name="row[service_desc]" class="form-control" data-rule="required" rows="5" data-tip=""
                      placeholder="请输入服务说明"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">付款方式:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[pay_type]', ['1'=>'转账汇款','2'=>'现金'],1)}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">付款截图:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::image('row[pay_pic]', '', ['data-rule'=>''])}
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
